{// 引入标签库 }
<tagLib name="html" />
<include file="Public:header" />
<script type="text/javascript" src="__TMPL__Common/js/calendar/calendar.php?lang=zh-cn" ></script>
<load href='__TMPL__Common/js/calendar/calendar.css' />
<load href='__TMPL__Common/js/calendar/calendar.js' />
<load href='__TMPL__Common/js/sms_index.js' />
<div class="main">
<div class="main_title">{%ADD} <a href="{:u("PromoteMsgSms/sms_index")}" class="back_list">{%BACK_LIST}</a></div>
<div class="blank5"></div>
<form name="edit" action="__APP__" method="post" enctype="multipart/form-data">
<table class="form" cellpadding=0 cellspacing=0>
	<tr>
		<td colspan=2 class="topTd"></td>
	</tr>
	<tr>
		<td class="item_title">{%SEND_TIME}:</td>
		<td class="item_input">
			<input type="text" class="textbox require" name="send_time" id="send_time" value="{:to_date(get_gmtime())}" onfocus="this.blur(); return showCalendar('send_time', '%Y-%m-%d %H:%M:%S', false, false, 'btn_send_time');" />
			<input type="button" class="button" id="btn_send_time" value="{%SELECT_TIME}" onclick="return showCalendar('send_time', '%Y-%m-%d %H:%M:%S', false, false, 'btn_send_time');" />	
			<input type="button" class="button" value="{%CLEAR_TIME}" onclick="$('#send_time').val('');" />	
		</td>
	</tr>
	<tr>
		<td class="item_title">{%SMS_CONTENT}:</td>
		<td class="item_input">
			<textarea name="content" class="textarea require"></textarea>
		</td>
	</tr>
	<tr>
		<td class="item_title">{%SEND_TYPE}:</td>
		<td class="item_input">
			 <select name="send_type">
			 	<option value="0">{%SEND_TYPE_0}</option>
				<option value="2">{%SEND_TYPE_2}</option>
			 </select>
		</td>
	</tr>
	
	<tr id="send_define_data">
		<td class="item_title">{%SEND_DEFINE_DATA}:</td>
		<td class="item_input">
			<textarea class="textarea" name="send_define_data" ></textarea>
			<span class="tip_span">{%SEND_DEFINE_DATA_TIP}</span>
		</td>
	</tr>
	<tr>
		<td class="item_title"></td>
		<td class="item_input">
			<!--隐藏元素-->
			<input type="hidden" name="type" value="0" />
			<input type="hidden" name="{:conf("VAR_MODULE")}" value="PromoteMsgSms" />
			<input type="hidden" name="{:conf("VAR_ACTION")}" value="insert_sms" />
			<!--隐藏元素-->
			<input type="submit" class="button" value="{%ADD}" />
			<input type="reset" class="button" value="{%RESET}" />
		</td>
	</tr>
	<tr>
		<td colspan=2 class="bottomTd"></td>
	</tr>
</table>	 
</form>
</div>
<include file="Public:footer" />